package com.jhgk.jhcee.system.service;

import com.jhgk.jhcee.common.resultful.BasisResultful;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/26 15:24.
 */
@FeignClient("jhcee-auth")
public interface AuthService {

    @PostMapping(value = "/oauth/token")
    BasisResultful getAccessToken(@RequestParam Map<String, String> parameters);
}
